home *** CD-ROM | disk | FTP | other *** search
- Path: sundog.tiac.net!usenet
- From: amoreira@nine.com (Alberto C Moreira)
- Newsgroups: comp.edu,comp.lang.c,comp.lang.c++
- Subject: Re: C or C++ for a 14-year old?
- Date: Tue, 16 Jan 1996 16:12:50 GMT
- Organization: Number Nine Visual Technology
- Message-ID: <4dgij2$su5@sundog.tiac.net>
- References: <4b30ld$lp2$1@mhafc.production.compuserve.com> <4d4jeh$fv1@wombat.melbpc.org.au> <w+PJjMD4ED1aLz3@dexam.another.gun.de> <4ddsg4$p4e@sundog.tiac.net> <9601152053.AA06670@dxmint.cern.ch>
- NNTP-Posting-Host: 205.161.17.61
- X-Newsreader: Forte Free Agent 1.0.82
-
- Dan Pop <danpop@mail.cern.ch> wrote:
-
- >amoreira@nine.com (Alberto C Moreira) writes:
-
- >>Still, there's no worse restriction on a programmer than not to be
- >>able to talk directly to the hardware.
-
- [snip...]
-
-
- >The point is that with a good OS you don't have to talk directly to the
- >hardware: this is the job of the OS, not of the application.
-
-
- That OS is still to be born.
-
-
- >Direct access to the hardware within an application is needed only when
- >the underlying OS doesn't provide the functionality needed or when it
- >provides it in a horribly inefficient way.
-
-
- Which is the case with 100% of the OS's I worked with. Neither OS2 or
- Unix or Windows or NT or Win95 gets even closer to the performance I
- can extract from my 3D graphics board going direct to the hardware.
-
- Why do you think the best games run under DOS ? Why is Microsoft
- wooing games developers so intensely with their "Direct Whatever"
- APIs that give programmers direct access to a virtualized hardware-
- level device ?
-
-
- >Programs which access the hardware directly:
-
- >1. Are inherently non-portable.
-
-
- Big deal. The PC is a hardware standard; programs should work on
- a PC independent of OS. What's non-portable is the tons of APIs
- and little supervisor services that stand in the way.
-
-
- >2. Cannot be safely used in a multitasking environment.
-
-
- Rubbish. Windows has VDDs for that, and it works fine. Programs
- that need access to the hardware can easily be written to use a
- serializing layer - like the VDD. It is a myth that i/o code
- needs to be trusted code and run in ring 0 to allow multitasking.
- The best real-timers I ever worked with ran i/o at user level, which
- is where it belongs.
-
-
- >Of course, these points are non-issues for the MSDOS programmer.
-
-
- These are non-issues to personal computers. And that's what DOS,
- Windows and OS/2 are supposed to be: personal computer OS's.
-
- As for Unix, multi-user actually stays in people's ways; it helps
- nothing in a personal computer environment.
-
-
- _alberto_
-
-
-
-
-
-
-
-